package com.hmall.api.trade;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * 交易服务Feign接口
 *
 * @Author mr.Candy
 * @Date 2025/6/1817:28
 */
@FeignClient(name = "trade-service", path = "/orders")
public interface TradeClient {
    @PutMapping("/{orderId}")
    public void markOrderPaySuccess(@PathVariable("orderId") Long orderId);
}
